package org.jeecg.modules.parameter.api.entity.power;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;


/**
 * @author P
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName(value = "sim_power_with", schema = "simulator")
@ApiModel(value = "sim_power_with", description = "参数-线路-供电区间-关联表")
public class SimPowerWith implements Serializable {
    @ApiModelProperty(value = "线路uuid，唯一标识")
    @TableId(type = IdType.ASSIGN_UUID, value = "id")
    private String id;

    @ApiModelProperty(value = "供电区间id（uuid）")
    @TableField(value = "main_power_id")
    private String mainPowerId;

    @ApiModelProperty(value = "车站id（uuid）")
    @TableField(value = "for_station_id")
    private String forStationId;

}